if (this.help) {
	usage('factory');
	usage('set=<prompt>');
} else {
	include('chrome://technika/content/technika.js');

	if (this.factory) {
		try {
			TH_setPref('extensions.technika.prompt', '>> ');
			print('>> ');
		} catch (e) {
			error(e);
		}
	} else if (this.set) {
		try {
			TH_setPref('extensions.technika.prompt', this.set);
			print(this.set);
		} catch (e) {
			error(e);
		}
	} else {
		print(TH_getPref('extensions.technika.prompt', '>> '));
	}
}
